<script setup lang="ts">
import CpNacBar from '@/components/CpNavBar.vue'
</script>

<template>
  <CpNacBar title="总台技术局新媒体技术大练兵" />
  <div class="conBox">
    <div class="conItem">
      <div class="info">
        <div class="lable">日期</div>
        <div class="value">
          <span>5-27</span>
          <span>周一</span>
        </div>
      </div>
      <div class="info">
        <div class="lable">具体时间</div>
        <div class="value">
          <span>11:30 — 13:30</span>
        </div>
      </div>
      <div class="action">
        <div class="btn participated">已参与</div>
      </div>
    </div>
    <div class="conItem">
      <div class="info">
        <div class="lable">日期</div>
        <div class="value">
          <span>5-27</span>
          <span>周一</span>
        </div>
      </div>
      <div class="info">
        <div class="lable">具体时间</div>
        <div class="value">
          <span>11:30 — 13:30</span>
        </div>
      </div>
      <div class="action">
        <div class="btn noParticipated">未参与</div>
      </div>
    </div>
    <div class="conItem">
      <div class="info">
        <div class="lable">日期</div>
        <div class="value">
          <span>5-27</span>
          <span>周一</span>
        </div>
      </div>
      <div class="info">
        <div class="lable">具体时间</div>
        <div class="value">
          <span>11:30 — 13:30</span>
        </div>
      </div>
      <div class="action">
        <div class="btn cancel">取消预约</div>
      </div>
    </div>
  </div>
</template>

<style lang="scss" scoped>
.conBox {
  width: 702px;
  margin: 0 auto;
  margin-top: 112px;
  .conItem {
    box-sizing: border-box;
    padding: 32px;
    width: 100%;
    height: 260px;
    margin-bottom: 24px;
    border-radius: 20px;
    background: url('../../assets/yuyueBg.png') no-repeat top left;
    background-size: 100% 100%;
    .info {
      width: 100%;
      height: 40px;
      line-height: 40px;
      display: flex;
      justify-content: space-between;
      margin-bottom: 24px;
      .lable {
        width: 120px;
        height: 40px;
        line-height: 40px;
        font-size: 28px;
        color: #999999;
        text-align-last: left;
      }
      .value {
        color: #212121;
        span {
          margin-left: 32px;
        }
      }
    }
    .action {
      width: 100%;
      .btn {
        box-sizing: border-box;
        float: right;
        width: 200px;
        height: 68px;
        line-height: 68px;
        border-radius: 34px;
        text-align: center;
      }
      .btn.participated {
        background-color: #dcdcdc;
      }
      .btn.noParticipated {
        color: var(--cp-primary);
        border: 1px solid var(--cp-primary);
      }
      .btn.cancel {
        color: var(--cp-orange);
        border: 1px solid var(--cp-orange);
      }
    }
  }
}
</style>
